/*
 * Copyright 2002-2015 the Beijing Brain Technology co.,LTD http://www.bris.cn/
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bris.niosocket.handler;



/**
 * 定义安全移动客户端的异常</br>
 * 2015年12月1日</br>
 * @author xunaidong
 * @since 1.0.0
 */
public class CspClientException extends Throwable{

	/**
	 * 序列化. 
	 */
	private static final long serialVersionUID = 1L;
	
	private String errorMsg;
	
	private String errorCode;
	
	public CspClientException(String errorCode) {
    	super();
    	this.errorCode = errorCode;
    }
	/**
	 * @return the errorCode
	 */
	public String getErrorCode() {
		return errorCode;
	}
	/**
	 * @param errorCode the errorCode to set
	 */
	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}
	/**
	 * @param errorMsg the errorMsg to set
	 */
	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}
	
	

}
